package com.fjnu.entities;

import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;

/**
 * 报修审核部门的实体类
 * @author 默默
 *
 */
@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler","fieldHandler"})
@JsonIdentityInfo(
        generator = ObjectIdGenerators.PropertyGenerator.class,
        property = "id",
        scope = ExamRepair.class)
public class ExamRepair {
	private Integer id;
	private User ExamUser;
	private BaseRepair baseRepair;
	private FinalRepair finalRepair;
	public ExamRepair() {
		// TODO Auto-generated constructor stub
	}
	public ExamRepair(Integer id, User examUser, BaseRepair baseRepair) {
		super();
		this.id = id;
		ExamUser = examUser;
		this.baseRepair = baseRepair;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public User getExamUser() {
		return ExamUser;
	}
	public void setExamUser(User examUser) {
		ExamUser = examUser;
	}
	public BaseRepair getBaseRepair() {
		return baseRepair;
	}
	public void setBaseRepair(BaseRepair baseRepair) {
		this.baseRepair = baseRepair;
	}
	public FinalRepair getFinalRepair() {
		return finalRepair;
	}
	public void setFinalRepair(FinalRepair finalRepair) {
		this.finalRepair = finalRepair;
	}
	
	
}
